﻿using Microsoft.EntityFrameworkCore.Migrations;

namespace FwProject.Migrations
{
    public partial class Update_PaymentInfo_To_fwyg : Migration
    {
        protected override void Up(MigrationBuilder migrationBuilder)
        {
            migrationBuilder.AddColumn<string>(
                name: "AgentPeoper",
                table: "PaymentInfo",
                nullable: true);

            migrationBuilder.AddColumn<long>(
                name: "AgentPeoperId",
                table: "PaymentInfo",
                nullable: false,
                defaultValue: 0L);

            migrationBuilder.AddColumn<string>(
                name: "PaymentPerson",
                table: "PaymentInfo",
                nullable: true);

            migrationBuilder.AddColumn<long>(
                name: "PaymentPersonId",
                table: "PaymentInfo",
                nullable: false,
                defaultValue: 0L);
        }

        protected override void Down(MigrationBuilder migrationBuilder)
        {
            migrationBuilder.DropColumn(
                name: "AgentPeoper",
                table: "PaymentInfo");

            migrationBuilder.DropColumn(
                name: "AgentPeoperId",
                table: "PaymentInfo");

            migrationBuilder.DropColumn(
                name: "PaymentPerson",
                table: "PaymentInfo");

            migrationBuilder.DropColumn(
                name: "PaymentPersonId",
                table: "PaymentInfo");
        }
    }
}
